//
//  BSFriendTrendViewController.m
//  01-BuDeJie
//
//  Created by 1 on 15/12/17.
//  Copyright © 2015年 xiaomage. All rights reserved.
//

#import "BSFriendTrendViewController.h"
#import "BSLoginRegisterViewController.h"

@interface BSFriendTrendViewController ()

@end

@implementation BSFriendTrendViewController

- (void)viewDidLoad {
    [super viewDidLoad];
//        self.view.backgroundColor = [UIColor greenColor];
    
    //设置导航栏
    [self setUpBarButtonItem];
}

-(void)setUpBarButtonItem{
    
    //设置左边的UIBarButtonItem
    UIBarButtonItem *leftBarButtonItem = [UIBarButtonItem barButtonItemWithImage:[UIImage imageNamed:@"friendsRecommentIcon"] HighLightImage:[UIImage imageNamed:@"friendsRecommentIcon-click"] Target:self Action:@selector(leftButtonClick)];
    
    self.navigationItem.leftBarButtonItem = leftBarButtonItem;
   
    
    //设置中间的标题
    self.navigationItem.title = @"我的关注";
}


#pragma mark ---------------
#pragma mark - 左右边点击
-(void)leftButtonClick{
    BSFunc;
}


- (IBAction)loginButtonClick:(id)sender {
    
    BSLoginRegisterViewController *vc = [[BSLoginRegisterViewController alloc]init];
    [self presentViewController:vc animated:YES completion:nil];
     
     
     }


@end
